package com.ozy.kxreader.di.module

import com.ozy.kxreader.di.scope.ActivityScope
import com.ozy.kxreader.mvp.contract.BookListContract
import com.ozy.kxreader.mvp.model.BookListModel
import dagger.Module
import dagger.Provides

/**
 * Created by 欧源 on 2018/1/30.
 */
@Module
class BookListModule(private val view: BookListContract.View) {

    @ActivityScope
    @Provides
    fun provideBookListView() = this.view



    @ActivityScope
    @Provides
     fun provideBookListModel(model: BookListModel): BookListContract.Model {
        return model
    }
}